-
Notifications
You must be signed in to change notification settings - Fork 2
docs: update CRD docs #132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
conformance test reportapiVersion: gateway.networking.k8s.io/v1
date: "2025-05-20T08:52:57Z"
gatewayAPIChannel: standard
gatewayAPIVersion: v1.2.0
implementation:
contact: null
organization: APISIX
project: apisix-ingress-controller
url: https://github.com/apache/apisix-ingress-controller.git
version: v2.0.0
kind: ConformanceReport
mode: default
profiles:
- core:
result: partial
skippedTests:
- GatewaySecretInvalidReferenceGrant
- GatewaySecretMissingReferenceGrant
- HTTPRouteHTTPSListener
- HTTPRouteInvalidCrossNamespaceBackendRef
- HTTPRouteInvalidReferenceGrant
- HTTPRoutePartiallyInvalidViaInvalidReferenceGrant
- HTTPRouteReferenceGrant
statistics:
Failed: 0
Passed: 26
Skipped: 7
name: GATEWAY-HTTP
summary: Core tests partially succeeded with 7 test skips. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enriches CRD documentation by adding detailed descriptions for spec and individual fields across the API reference, YAML schemas, and Go type comments.
- Expanded
specdefinitions indocs/crd/api.mdfor all CRD kinds - Added or refined field descriptions in
config/crd/bases/*.yaml - Synchronized Go doc comments in
api/v1alpha1/*_types.gowith the YAML and markdown docs
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/crd/api.md | Added detailed spec descriptions for each CRD kind |
| config/crd/bases/apisix.apache.org_pluginconfigs.yaml | Defined spec and field descriptions for PluginConfig |
| config/crd/bases/apisix.apache.org_httproutepolicies.yaml | Enhanced YAML docs with priority and vars descriptions |
| config/crd/bases/apisix.apache.org_gatewayproxies.yaml | Added pluginMetadata, plugins, provider, and status docs |
| config/crd/bases/apisix.apache.org_consumers.yaml | Documented credentials, gatewayRef, and plugin fields |
| config/crd/bases/apisix.apache.org_backendtrafficpolicies.yaml | Added descriptions for load balancing, retries, timeouts, etc. |
| api/v1alpha1/pluginconfig_types.go | Updated doc comments for PluginConfig and Plugin |
| api/v1alpha1/httproutepolicy_types.go | Refined comments for HTTPRoutePolicySpec and Spec in the struct |
| api/v1alpha1/gatewayproxy_types.go | Synchronized Go comments for GatewayProxy and related types |
| api/v1alpha1/consumer_types.go | Added Go doc comments for ConsumerSpec, GatewayRef, Credential |
| api/v1alpha1/backendtrafficpolicy_types.go | Updated comments for BackendTrafficPolicySpec and related types |
Co-authored-by: Copilot <[email protected]>
ronething
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Type of change:
What this PR does / why we need it:
Update comments for CRD docs generation.
TODO: valid column
Pre-submission checklist: